# 引入库
from math import log

def make_log_function(base):
    return lambda x: log(x, base)   # 匿名函数

my_log = make_log_function(3)   # my_log是函数
log_2 = make_log_function(2)

print(my_log(9))
print(log_2(16))